<?php

namespace common\models;

class AppSerial extends \yii\db\ActiveRecord
{
    public static function tableName()
    {
        return 'app_serial';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['days','status','user_id'], 'integer'],
            [['serial_number'], 'string'],
        ];
    }

    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'serial_number' => 'Serial Number',
            'days' => 'Days',
            'status'=>'Status',
        ];
    }
}